package com.zhz.system.contract.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 角色分页数据
 *
 * @author zhouhengzhe
 * @date 2023/4/27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Accessors(chain = true)
public class RoleFindByPageResponse {

    @ApiModelProperty("主键ID")
    private String id;

    @ApiModelProperty("权限名称")
    private String name;

    @ApiModelProperty("说明")
    private String description;

    @ApiModelProperty("企业id")
    private String companyId;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("创建人")
    private String creator;

    @ApiModelProperty("创建人编码")
    private String creatorCode;

    @ApiModelProperty("更新人")
    private String updater;

    @ApiModelProperty("更新人编码")
    private String updaterCode;
}
